package com.ljy.tkuser.service;

import com.ljy.tkuser.entity.LjyBigUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ljy.tkuser.entity.reqvo.ReqVOLjyBigUser;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.HashMap;

/**
 * <p>
 * 用户登录表 服务类
 * </p>
 *
 * @author testjava
 * @since 2021-12-27
 */
public interface LjyBigUserService extends IService<LjyBigUser> {
    //分页条件查询
    HashMap pageUserConditionSelect(ReqVOLjyBigUser bigUser);

    //新增用户
    int insertUserInfo(ReqVOLjyBigUser reqVOLjyBigUser);

    //更新用户信息
    int PutUserInfo(LjyBigUser ljyBigUser);

    //登录
    HashMap<String, Object> UserConditionSelect(String nikeName, String passWord,HttpServletResponse response) throws UnsupportedEncodingException;
    //获取登录用户信息
    LjyBigUser getUser(HttpServletRequest request) throws UnsupportedEncodingException;
    //退出登录
    void loutUser(HttpSession session);
}
